// const mysql = require('mysql');
import mysql from 'mysql';
const connection = mysql.createConnection({
  host: 'localhost',
  user: 'root',
  password: '123',
  database: 'demo'
});

connection.connect();

// module.exports = connection;
export default connection